#pragma once

using namespace System;
using namespace System::ComponentModel;
using namespace System::Collections;
using namespace System::Windows::Forms;
using namespace System::Data;
using namespace System::Drawing;


namespace CustomImport {

	/// <summary>
	/// Summary for ConfigurationForm
	///
	/// WARNING: If you change the name of this class, you will need to change the
	///          'Resource File Name' property for the managed resource compiler tool
	///          associated with all .resx files this class depends on.  Otherwise,
	///          the designers will not be able to interact properly with localized
	///          resources associated with this form.
	/// </summary>
	public ref class ConfigurationForm : public System::Windows::Forms::Form
	{
	public:
		ConfigurationForm(void)
		{
			InitializeComponent();
			//
			//TODO: Add the constructor code here
			//
		}

	protected:
		/// <summary>
		/// Clean up any resources being used.
		/// </summary>
		~ConfigurationForm()
		{
			if (components)
			{
				delete components;
			}
		}
	private: System::Windows::Forms::TextBox^  txtServer;
	protected: 
	private: System::Windows::Forms::Label^  lblDatabase;
	private: System::Windows::Forms::Label^  lblServer;
	private: System::Windows::Forms::GroupBox^  grpFunctionOptions;
	private: System::Windows::Forms::RadioButton^  rdoCustom;
	private: System::Windows::Forms::RadioButton^  rdoDefault;
	private: System::Windows::Forms::TextBox^  txtDetailsPage;
	private: System::Windows::Forms::TextBox^  txtDatabase;
	private: System::Windows::Forms::Button^  btnCancel;
	private: System::Windows::Forms::Label^  lblDetailsPage;
	private: System::Windows::Forms::Button^  btnApply;
	private: System::Windows::Forms::Label^  lblUsername;
	private: System::Windows::Forms::TextBox^  txtSearchPage;
	private: System::Windows::Forms::TextBox^  txtUsername;
	private: System::Windows::Forms::Panel^  pnlCustomConfig;
	private: System::Windows::Forms::Label^  lblSearchPage;
	private: System::Windows::Forms::Label^  lblPassword;
	private: System::Windows::Forms::TextBox^  txtPassword;

	private:
		/// <summary>
		/// Required designer variable.
		/// </summary>
		System::ComponentModel::Container ^components;

#pragma region Windows Form Designer generated code
		/// <summary>
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// </summary>
		void InitializeComponent(void)
		{
			this->txtServer = (gcnew System::Windows::Forms::TextBox());
			this->lblDatabase = (gcnew System::Windows::Forms::Label());
			this->lblServer = (gcnew System::Windows::Forms::Label());
			this->grpFunctionOptions = (gcnew System::Windows::Forms::GroupBox());
			this->rdoCustom = (gcnew System::Windows::Forms::RadioButton());
			this->rdoDefault = (gcnew System::Windows::Forms::RadioButton());
			this->txtDetailsPage = (gcnew System::Windows::Forms::TextBox());
			this->txtDatabase = (gcnew System::Windows::Forms::TextBox());
			this->btnCancel = (gcnew System::Windows::Forms::Button());
			this->lblDetailsPage = (gcnew System::Windows::Forms::Label());
			this->btnApply = (gcnew System::Windows::Forms::Button());
			this->lblUsername = (gcnew System::Windows::Forms::Label());
			this->txtSearchPage = (gcnew System::Windows::Forms::TextBox());
			this->txtUsername = (gcnew System::Windows::Forms::TextBox());
			this->pnlCustomConfig = (gcnew System::Windows::Forms::Panel());
			this->lblSearchPage = (gcnew System::Windows::Forms::Label());
			this->lblPassword = (gcnew System::Windows::Forms::Label());
			this->txtPassword = (gcnew System::Windows::Forms::TextBox());
			this->grpFunctionOptions->SuspendLayout();
			this->pnlCustomConfig->SuspendLayout();
			this->SuspendLayout();
			// 
			// txtServer
			// 
			this->txtServer->Anchor = static_cast<System::Windows::Forms::AnchorStyles>(((System::Windows::Forms::AnchorStyles::Top | System::Windows::Forms::AnchorStyles::Left) 
				| System::Windows::Forms::AnchorStyles::Right));
			this->txtServer->Location = System::Drawing::Point(168, 2);
			this->txtServer->Name = L"txtServer";
			this->txtServer->Size = System::Drawing::Size(328, 20);
			this->txtServer->TabIndex = 2;
			// 
			// lblDatabase
			// 
			this->lblDatabase->AutoSize = true;
			this->lblDatabase->Location = System::Drawing::Point(78, 31);
			this->lblDatabase->Name = L"lblDatabase";
			this->lblDatabase->Size = System::Drawing::Size(84, 13);
			this->lblDatabase->TabIndex = 3;
			this->lblDatabase->Text = L"Database Name";
			// 
			// lblServer
			// 
			this->lblServer->AutoSize = true;
			this->lblServer->Location = System::Drawing::Point(3, 5);
			this->lblServer->Name = L"lblServer";
			this->lblServer->Size = System::Drawing::Size(159, 13);
			this->lblServer->TabIndex = 1;
			this->lblServer->Text = L"SQL Server Name or IP Address";
			// 
			// grpFunctionOptions
			// 
			this->grpFunctionOptions->Anchor = static_cast<System::Windows::Forms::AnchorStyles>(((System::Windows::Forms::AnchorStyles::Top | System::Windows::Forms::AnchorStyles::Left) 
				| System::Windows::Forms::AnchorStyles::Right));
			this->grpFunctionOptions->Controls->Add(this->rdoCustom);
			this->grpFunctionOptions->Controls->Add(this->rdoDefault);
			this->grpFunctionOptions->Location = System::Drawing::Point(12, 12);
			this->grpFunctionOptions->Name = L"grpFunctionOptions";
			this->grpFunctionOptions->Size = System::Drawing::Size(500, 72);
			this->grpFunctionOptions->TabIndex = 16;
			this->grpFunctionOptions->TabStop = false;
			// 
			// rdoCustom
			// 
			this->rdoCustom->AutoSize = true;
			this->rdoCustom->Location = System::Drawing::Point(6, 42);
			this->rdoCustom->Name = L"rdoCustom";
			this->rdoCustom->Size = System::Drawing::Size(158, 17);
			this->rdoCustom->TabIndex = 1;
			this->rdoCustom->TabStop = true;
			this->rdoCustom->Text = L"Use Custom Import Function";
			this->rdoCustom->UseVisualStyleBackColor = true;
			// 
			// rdoDefault
			// 
			this->rdoDefault->AutoSize = true;
			this->rdoDefault->Location = System::Drawing::Point(6, 19);
			this->rdoDefault->Name = L"rdoDefault";
			this->rdoDefault->Size = System::Drawing::Size(157, 17);
			this->rdoDefault->TabIndex = 0;
			this->rdoDefault->TabStop = true;
			this->rdoDefault->Text = L"Use Default Import Function";
			this->rdoDefault->UseVisualStyleBackColor = true;
			// 
			// txtDetailsPage
			// 
			this->txtDetailsPage->Anchor = static_cast<System::Windows::Forms::AnchorStyles>(((System::Windows::Forms::AnchorStyles::Top | System::Windows::Forms::AnchorStyles::Left) 
				| System::Windows::Forms::AnchorStyles::Right));
			this->txtDetailsPage->Location = System::Drawing::Point(168, 132);
			this->txtDetailsPage->Name = L"txtDetailsPage";
			this->txtDetailsPage->Size = System::Drawing::Size(328, 20);
			this->txtDetailsPage->TabIndex = 12;
			// 
			// txtDatabase
			// 
			this->txtDatabase->Anchor = static_cast<System::Windows::Forms::AnchorStyles>(((System::Windows::Forms::AnchorStyles::Top | System::Windows::Forms::AnchorStyles::Left) 
				| System::Windows::Forms::AnchorStyles::Right));
			this->txtDatabase->Location = System::Drawing::Point(168, 28);
			this->txtDatabase->Name = L"txtDatabase";
			this->txtDatabase->Size = System::Drawing::Size(328, 20);
			this->txtDatabase->TabIndex = 4;
			// 
			// btnCancel
			// 
			this->btnCancel->Anchor = static_cast<System::Windows::Forms::AnchorStyles>((System::Windows::Forms::AnchorStyles::Bottom | System::Windows::Forms::AnchorStyles::Right));
			this->btnCancel->Location = System::Drawing::Point(437, 258);
			this->btnCancel->Name = L"btnCancel";
			this->btnCancel->Size = System::Drawing::Size(75, 23);
			this->btnCancel->TabIndex = 18;
			this->btnCancel->Text = L"Cancel";
			this->btnCancel->UseVisualStyleBackColor = true;
			// 
			// lblDetailsPage
			// 
			this->lblDetailsPage->AutoSize = true;
			this->lblDetailsPage->Location = System::Drawing::Point(24, 135);
			this->lblDetailsPage->Name = L"lblDetailsPage";
			this->lblDetailsPage->Size = System::Drawing::Size(138, 13);
			this->lblDetailsPage->TabIndex = 11;
			this->lblDetailsPage->Text = L"Web Location - Detail Page";
			// 
			// btnApply
			// 
			this->btnApply->Anchor = static_cast<System::Windows::Forms::AnchorStyles>((System::Windows::Forms::AnchorStyles::Bottom | System::Windows::Forms::AnchorStyles::Right));
			this->btnApply->Location = System::Drawing::Point(356, 258);
			this->btnApply->Name = L"btnApply";
			this->btnApply->Size = System::Drawing::Size(75, 23);
			this->btnApply->TabIndex = 17;
			this->btnApply->Text = L"Apply";
			this->btnApply->UseVisualStyleBackColor = true;
			// 
			// lblUsername
			// 
			this->lblUsername->AutoSize = true;
			this->lblUsername->Location = System::Drawing::Point(58, 57);
			this->lblUsername->Name = L"lblUsername";
			this->lblUsername->Size = System::Drawing::Size(104, 13);
			this->lblUsername->TabIndex = 5;
			this->lblUsername->Text = L"Database Username";
			// 
			// txtSearchPage
			// 
			this->txtSearchPage->Anchor = static_cast<System::Windows::Forms::AnchorStyles>(((System::Windows::Forms::AnchorStyles::Top | System::Windows::Forms::AnchorStyles::Left) 
				| System::Windows::Forms::AnchorStyles::Right));
			this->txtSearchPage->Location = System::Drawing::Point(168, 106);
			this->txtSearchPage->Name = L"txtSearchPage";
			this->txtSearchPage->Size = System::Drawing::Size(328, 20);
			this->txtSearchPage->TabIndex = 10;
			// 
			// txtUsername
			// 
			this->txtUsername->Anchor = static_cast<System::Windows::Forms::AnchorStyles>(((System::Windows::Forms::AnchorStyles::Top | System::Windows::Forms::AnchorStyles::Left) 
				| System::Windows::Forms::AnchorStyles::Right));
			this->txtUsername->Location = System::Drawing::Point(168, 54);
			this->txtUsername->Name = L"txtUsername";
			this->txtUsername->Size = System::Drawing::Size(328, 20);
			this->txtUsername->TabIndex = 6;
			// 
			// pnlCustomConfig
			// 
			this->pnlCustomConfig->Anchor = static_cast<System::Windows::Forms::AnchorStyles>(((System::Windows::Forms::AnchorStyles::Top | System::Windows::Forms::AnchorStyles::Left) 
				| System::Windows::Forms::AnchorStyles::Right));
			this->pnlCustomConfig->Controls->Add(this->txtServer);
			this->pnlCustomConfig->Controls->Add(this->lblServer);
			this->pnlCustomConfig->Controls->Add(this->lblDatabase);
			this->pnlCustomConfig->Controls->Add(this->txtDetailsPage);
			this->pnlCustomConfig->Controls->Add(this->txtDatabase);
			this->pnlCustomConfig->Controls->Add(this->lblDetailsPage);
			this->pnlCustomConfig->Controls->Add(this->lblUsername);
			this->pnlCustomConfig->Controls->Add(this->txtSearchPage);
			this->pnlCustomConfig->Controls->Add(this->txtUsername);
			this->pnlCustomConfig->Controls->Add(this->lblSearchPage);
			this->pnlCustomConfig->Controls->Add(this->lblPassword);
			this->pnlCustomConfig->Controls->Add(this->txtPassword);
			this->pnlCustomConfig->Location = System::Drawing::Point(12, 90);
			this->pnlCustomConfig->Name = L"pnlCustomConfig";
			this->pnlCustomConfig->Size = System::Drawing::Size(500, 159);
			this->pnlCustomConfig->TabIndex = 19;
			// 
			// lblSearchPage
			// 
			this->lblSearchPage->AutoSize = true;
			this->lblSearchPage->Location = System::Drawing::Point(17, 109);
			this->lblSearchPage->Name = L"lblSearchPage";
			this->lblSearchPage->Size = System::Drawing::Size(145, 13);
			this->lblSearchPage->TabIndex = 9;
			this->lblSearchPage->Text = L"Web Location - Search Page";
			// 
			// lblPassword
			// 
			this->lblPassword->AutoSize = true;
			this->lblPassword->Location = System::Drawing::Point(60, 83);
			this->lblPassword->Name = L"lblPassword";
			this->lblPassword->Size = System::Drawing::Size(102, 13);
			this->lblPassword->TabIndex = 7;
			this->lblPassword->Text = L"Database Password";
			// 
			// txtPassword
			// 
			this->txtPassword->Anchor = static_cast<System::Windows::Forms::AnchorStyles>(((System::Windows::Forms::AnchorStyles::Top | System::Windows::Forms::AnchorStyles::Left) 
				| System::Windows::Forms::AnchorStyles::Right));
			this->txtPassword->Location = System::Drawing::Point(168, 80);
			this->txtPassword->Name = L"txtPassword";
			this->txtPassword->Size = System::Drawing::Size(328, 20);
			this->txtPassword->TabIndex = 8;
			// 
			// ConfigurationForm
			// 
			this->AutoScaleDimensions = System::Drawing::SizeF(6, 13);
			this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
			this->ClientSize = System::Drawing::Size(524, 293);
			this->ControlBox = false;
			this->Controls->Add(this->grpFunctionOptions);
			this->Controls->Add(this->btnCancel);
			this->Controls->Add(this->btnApply);
			this->Controls->Add(this->pnlCustomConfig);
			this->FormBorderStyle = System::Windows::Forms::FormBorderStyle::FixedDialog;
			this->MaximizeBox = false;
			this->MinimizeBox = false;
			this->Name = L"ConfigurationForm";
			this->Text = L"Custom Import Configuration";
			this->grpFunctionOptions->ResumeLayout(false);
			this->grpFunctionOptions->PerformLayout();
			this->pnlCustomConfig->ResumeLayout(false);
			this->pnlCustomConfig->PerformLayout();
			this->ResumeLayout(false);

		}
#pragma endregion
	};
}
